//#region demo
import WebGL from "three/addons/capabilities/WebGL.js";

if (WebGL.isWebGLAvailable()) {
    alert("do something...");
} else {
    const warning = WebGL.getWebGLErrorMessage();
    document.getElementById("body").appendChild(warning);
}
//#endregion demo
